PEEnableProgressDialog

Use PEEnableProgressDialog to specify whether the Progress dialog box is enabled. The Progress dialog box displays the progress of the report when it is running (records read, records selected, etc.).

C Syntax
BOOL CRPE_API PEEnableProgressDialog (
        short printJob,
        BOOL enable );
Parameters

printJob

Specifies the print job for which you want to enable/disable the progress dialog box.

enable

Specifies whether or not the progress dialog box is enabled. If enable is set to TRUE, the progress dialog box is enabled. If it is set to FALSE, the dialog box is disabled.

Returns
Remarks

This dialog box is enabled by default.

VB Syntax

VB Sample Code for Custom Print Link

Declare Function PEEnableProgressDialog Lib "crpe32.dll" (ByVal printJob 
_
        As Integer, ByVal enable As Integer) As Integer
Delphi Syntax
function PEEnableProgressDialog (
    printJob: Word;
    enable: Bool
    ): Bool stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com